home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 September / PCWorld_2008-09_cd.bin / v cisle / sadanastroju / clipmarks-3.5.0-fx.xpi / chrome / clipmarks.jar / content / clipmarks.xul < prev    next >
Extensible Markup Language  |  2008-04-08  |  9KB  |  103 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://clipmarks/skin/clipmarks.css"?>
  3. <overlay id="Clipmarks-Overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml">
  4.  
  5. <script type="application/x-javascript" src="chrome://clipmarks/content/clipmarks.js" />
  6.  
  7. <toolbox id="navigator-toolbox">
  8.     <toolbarpalette id="BrowserToolbarPalette">
  9.         <toolbaritem id="Clipmarks-Toolbar" tooltiptext="Clipmarks">
  10.             <toolbarbutton id="Clipmarks-TB-Logo" type="button" tooltiptext="Clipmarks" label="Clipmarks" />
  11.             <toolbarbutton id="Clipmarks-TB-Clip" type="menu-button" tooltiptext="enter clip mode" oncommand="Clipmarks_Clip(event)" label="Clip">
  12.                 <menupopup>
  13.           <menuitem id="Clipmarks-TB-Links-Mine" style="/*list-style-image: url('chrome://clipmarks/skin/smiley.png');*/" label="My Clips" class="menuitem" tooltiptext="My Clips" oncommand="Clipmarks_Navigate(event, 'my_library'); event.stopPropagation();" />
  14.           <menuitem id="Clipmarks-TB-Links-Widget" style="/*list-style-image: url('chrome://clipmarks/skin/smiley.png');*/" label="My Widget" class="menuitem" tooltiptext="My Widget" oncommand="Clipmarks_Navigate(event, 'my_widget'); event.stopPropagation();" />
  15.           <menuitem id="Clipmarks-TB-Links-Home" style="/*list-style-image: url('chrome://clipmarks/skin/home.png');*/" label="Clipmarks home" class="menuitem" tooltiptext="Clipmarks home" oncommand="Clipmarks_Navigate(event, 'home'); event.stopPropagation();" />
  16.           <menuitem id="Clipmarks-TB-Links-Settings" style="/*list-style-image: url('chrome://clipmarks/skin/help.png');*/" label="Settings" class="menuitem" tooltiptext="Settings" oncommand="Clipmarks_Navigate(event, 'settings'); event.stopPropagation();" />
  17.           <menuitem id="Clipmarks-TB-Links-Help" style="/*list-style-image: url('chrome://clipmarks/skin/help.png');*/" label="Help" class="menuitem" tooltiptext="Help" oncommand="Clipmarks_Navigate(event, 'help'); event.stopPropagation();" />
  18.         </menupopup>
  19.             </toolbarbutton>
  20.         </toolbaritem>
  21.     </toolbarpalette>
  22.  
  23.     <popupset id="mainPopupSet">
  24.         <popup style="display:-moz-popup;border:0px;overflow:hidden;" id="Clipmarks-ContextMenu" onpopuphiding="Clipmarks_ContextMenuVisible=false;return true;" onpopupshowing="Clipmarks_ContextMenuVisible=true;return true;">
  25.             <stack class="slider-container">
  26.                 <html:div class="slider" id="slider-1" tabIndex="1" style="" />
  27.             </stack>
  28.             <stack>
  29.                 <html:div id="slider-button-clip" class="slider-button-clip" />
  30.                 <html:div id="slider-button-cancel" class="slider-button-cancel" />
  31.             </stack>
  32.         </popup>
  33.  
  34.     <popup style="display:-moz-popup;border:solid 0px #FFFFFF;background-color:#447E00;background-image:url('chrome://clipmarks/skin/save-bg.png');overflow:hidden;padding:2px;" id="Clipmarks-MenuDoneClipping" onpopuphiding="return Clipmarks_HideDoneClipping();" onpopupshowing="" position="after_start">
  35.       <vbox style="border:solid 3px #FFFFFF;height:235px;padding:8px;color:#FFFFFF;font-size:11px;font-weight:bold;background-color:#447E00;background-image:url('chrome://clipmarks/skin/save-bg.png');">
  36.         <hbox align="center">
  37.           <image id="Clipmarks_SaveClip" src="chrome://clipmarks/skin/save-save.png" tooltiptext="Post this clip to Facebook, MySpace, clipmarks.com or any other site." width="113" height="32" style="margin-right:8px;cursor:pointer;" onclick="if(!this.disabled){Clipmarks_Tag(event, false)}; event.stopPropagation();" />
  38.         </hbox>
  39.         <image src="chrome://clipmarks/skin/save-divider.png" style="margin:10px 0px;" />
  40.         <hbox align="center">
  41.           <image src="chrome://clipmarks/skin/save-email.png" tooltiptext="Sure beats copy and paste." width="113" height="32" style="margin-right:8px;cursor:pointer;" onclick="if(!this.disabled){Clipmarks_Tag(event, false, true)}; event.stopPropagation();" />
  42.         </hbox>
  43.         <image src="chrome://clipmarks/skin/save-divider.png" style="margin:10px 0px;" />
  44.         <hbox align="center">
  45.           <image src="chrome://clipmarks/skin/save-blog.png" tooltiptext="Post this clip directly to your blog." width="113" height="32" style="margin-right:8px;cursor:pointer;" onclick="if(!this.disabled){Clipmarks_Tag(event, false, false, true)}; event.stopPropagation();" />
  46.         </hbox>
  47.         <image src="chrome://clipmarks/skin/save-divider.png" style="margin:10px 0px;" />
  48.         <hbox align="center">
  49.           <image src="chrome://clipmarks/skin/save-print.png" tooltiptext="Only print what you need. Save trees!" width="113" height="32" style="margin-right:8px;cursor:pointer;" onclick="if(!this.disabled){Clipmarks_Tag(event, true)}; event.stopPropagation();" />
  50.         </hbox>
  51.         <image src="chrome://clipmarks/skin/save-divider.png" style="margin:10px 0px;" />
  52.         <hbox pack="end">
  53.           <description value="cancel" style="text-decoration:underline;font-size:12px;cursor:pointer;margin:-6px 2px 0px 0px;" onclick="document.getElementById('Clipmarks-MenuDoneClipping').hidePopup();" />
  54.         </hbox>
  55.       </vbox>
  56.     </popup>
  57.   </popupset>
  58. </toolbox>
  59.  
  60. <hbox id="browser">
  61.     <hbox id="Clipmarks-SaveBar" insertbefore="content" ordinal="1" width="100%" style="background-image:url(chrome://clipmarks/skin/save-bar-bg.png);padding:3px 6px 5px 6px;" hidden="true" align="center" pack="center">
  62.         <image src="chrome://clipmarks/skin/logo-tagline.png" width="220" height="28" />
  63.     <vbox style="color:#FFFFFF;font-weight:bold;margin:0px 10px 1px 10px;font-size:11px;" align="center">
  64. <!--      <hbox style="margin-bottom:1px;">
  65.         <description value="Click inside the " style="color:#FFFFFF;margin:0px;" />
  66.         <description value="orange lines" style="color:#FFFFFF;margin:0px;text-decoration:underline;cursor:pointer;" onclick="window.openDialog('chrome://clipmarks/content/orange-lines.xul', 'Clipmarks_OrangeLinesDialog', 'chrome,centerscreen,dialog,modal');" />
  67.         <description value=" or" style="color:#FFFFFF;margin:0px;" />
  68.       </hbox>
  69.       <hbox>
  70.         <description value="highlight text, then select..." style="color:#FFFFFF;margin:0px;" />
  71.       </hbox>
  72.       -->
  73.     </vbox>
  74.     <image id="imgDoneClipping1" src="chrome://clipmarks/skin/save-bar-done.png" tooltiptext="" width="220" height="28" style="cursor:pointer;margin:1px 5px 1px 0px;" onclick="Clipmarks_ShowDoneClipping(); event.stopPropagation();" />
  75.     <image id="imgDoneClipping2" src="chrome://clipmarks/skin/save-bar-choose.png" tooltiptext="" width="225" height="19" style="cursor:pointer;margin:6px 0px 5px 0px;" onclick="Clipmarks_ShowDoneClipping(); event.stopPropagation();" hidden="true" />
  76. <!--
  77.     <image id="Clipmarks_SaveClip" src="chrome://clipmarks/skin/save-bar-save-active.png" tooltiptext="save to clipmarks.com" width="61" height="23" style="cursor:pointer;margin-left:0px;" onclick="if(!this.disabled){Clipmarks_Tag(event, false)}; event.stopPropagation();" />
  78.     <image id="Clipmarks_EmailClip" src="chrome://clipmarks/skin/save-bar-email-active.png" tooltiptext="email" width="61" height="23" style="cursor:pointer;margin-left:2px;" onclick="if(!this.disabled){Clipmarks_Tag(event, false, true)}; event.stopPropagation();" />
  79.     <image id="Clipmarks_BlogClip" src="chrome://clipmarks/skin/save-bar-blog-active.png" tooltiptext="post to your blog" width="61" height="23" style="cursor:pointer;margin-left:2px;" onclick="if(!this.disabled){Clipmarks_Tag(event, false, false, true)}; event.stopPropagation();" />
  80.     <image id="Clipmarks_PrintClip" src="chrome://clipmarks/skin/save-bar-print-active.png" tooltiptext="print" width="61" height="23" style="cursor:pointer;margin-left:2px;" onclick="if(!this.disabled){Clipmarks_Tag(event, true)}; event.stopPropagation();" />
  81.  -->
  82.     <vbox style="color:#FFFFFF;font-weight:bold;margin:0px 20px 1px 20px;font-size:11px;" align="center">
  83.       <hbox>
  84.         <description id="Clipmarks_CharacterCount" value="0" style="margin:0px;" />
  85.         <description value=" characters clipped." style="margin:0px;" />
  86.       </hbox>
  87.       <hbox>
  88.         <description id="Clipmarks_CharactersRemaining" value="1000" style="margin:0px;" />
  89.         <description id="Clipmarks_CharactersRemainingText" value=" to " style="margin:0px;" />
  90.         <description value="sharing limit." style="cursor:pointer;text-decoration:underline;margin:0px;" onclick="window.openDialog('chrome://clipmarks/content/sharing-limit.xul', 'Clipmarks_SharingLimit', 'chrome,centerscreen,dialog,modal');" />
  91.       </hbox>
  92.     </vbox>
  93.             
  94.         <image id="Clipmarks_OrangeLinesCheckbox" src="chrome://clipmarks/skin/lines-checked.gif" width="14" height="14" style="cursor:pointer;" onclick="Clipmarks_EnableOrangeLines();" />
  95.         <description value="Orange Lines" style="cursor:pointer;text-decoration:underline;color:#FFFFFF;margin:-1px 0px 1px 4px;font-weight:bold;" onclick="window.openDialog('chrome://clipmarks/content/orange-lines.xul', 'Clipmarks_OrangeLinesDialog', 'chrome,centerscreen,dialog,modal');" />
  96.  
  97.         <description value="Help" style="cursor:pointer;text-decoration:underline;color:#FFFFFF;margin:-1px 0px 1px 20px;font-weight:bold;" onclick="Clipmarks_Help();" />
  98.         <description value="Cancel" style="cursor:pointer;text-decoration:underline;color:#FFFFFF;margin:-1px 0px 1px 10px;font-weight:bold;" onclick="Clipmarks_Clip(event);" />
  99.     </hbox>
  100. </hbox>
  101.  
  102. </overlay>
  103.